package cn.stylefeng.guns.modular.entity;

import cn.stylefeng.guns.modular.myenum.ReservedStatusEnum;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author 李宝嘉
 * @Date 2022/1/1 15:51
 */
@EqualsAndHashCode
@Data
@TableName("reserved")
public class Reserved {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private Long userId;
    private Long seatId;
    private Date beginTime;
    private Date endTime;
    private Float duration;
    private Date takeTime;
    private Date quitTime;
    private ReservedStatusEnum status;
}
